package gat.domain.service.dic.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;

import gat.convertor.dic.DicDataReqDtoConvertor;
import gat.convertor.dic.DicDataResDtoConvertor;
import gat.domain.service.dic.DicDataDomainService;
import gat.infrastructure.persistence.dao.dic.DicDataMapper;
import gat.infrastructure.persistence.po.dic.DicDataPo;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("dicDataDomainService")
public class DicDataDomainServiceImpl implements DicDataDomainService {

    @Autowired
    private DicDataReqDtoConvertor dicDataReqDtoConvertor;

    @Autowired
    private DicDataResDtoConvertor dicDataResDtoConvertor;

    private IPService<DicDataPo> dicDataPoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public DicDataDomainServiceImpl(DicDataMapper dicDataMapper) {
        this.dicDataPoService = new BasePService(dicDataMapper);
    }
}